package com.dsfa.conf;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 弃用
 * @ClassName: Config
 * @Author: wangdm
 * @Date: 2024/1/13
 */
@Data
@Configuration
public class Config {
    /*@Value("${webservices.agentIpPort:}")
    private String agentIpPort;
    @Value("${webservices.agentPath:}")
    private String agentPath;*/
    /*@Value("${webservices.wsIpPort:}")
    private String wsIpPort;
    @Value("${webservices.wsPath:}")
    private String wsPath;*/
    @Value("${verify.checkTimeToken:}")
    private String check;

    public boolean isCheckTimeToken(){
        return Integer.parseInt(check) > 0 ? true : false;
    }
}
